/*
 * LianHaidong <lianhaidong@gmail.com>
 */

#ifndef _UTILS_STR_UTILS_H
#define _UTILS_STR_UTILS_H

enum GetWordCode {
	GET_WORD_MORE,
	GET_WORD_OVER,
	GET_WORD_NOT_ENOUGH,
};

extern enum GetWordCode get_word(char **p, char *word, int max_len);

extern int strstart(const char *start, const char *str);

extern int strstartp(const char *start, const char **str);
#endif	/* _UTILS_STR_UTILS_H */


